package com.lsl.learn.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName DeptProvider8001_App
 * @Description TODO
 * @Author LSL
 * @Date 2019/8/16 22:41
 * @Version 1.0
 * @Email lsl.yx@foxmail.com
 **/
@SpringBootApplication
@EnableEurekaClient // 本服务启动后会自动配置到eureka服务中
@EnableDiscoveryClient // 服务发现
public class DeptProvider8003_App {

    public static void main(String[] args) {
        SpringApplication.run(DeptProvider8003_App.class, args);
    }
}
